package cn.bdqn.third;

import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @Description TODO
 * @Date 2020/2/12 9:29
 * @Created by 张三三
 */
public class Demo {
    public static void main(String[] args) {
        ClassPathXmlApplicationContext app = new ClassPathXmlApplicationContext("applicationContext.xml");

        Printer printer = app.getBean(Printer.class);
        String str = "张三李四王五赵六张三李四王五赵六张三李四王五赵六张三李四王五赵六张三李四王五赵六";
        printer.print(str);


    }
}
